A Meta-Language for Ornamentation in ML
نویسندگان
چکیده
Ornaments are a way to describe changes in datatype definitions that preserve their recursive structure, reorganizing, adding, or dropping some pieces of data so that functions operating on the bare definition can be partially and sometimes totally lifted into functions operating on the ornamented structure. We propose an extension of ML with higherorder ornaments. We introduce a meta-language above ML in which we can elaborate a most generic lifting of bare code, so that ornamented code can then be obtained by instantiation of the generic lifting, followed by staged reduction and some remaining simplifications. We use logical relations to closely relate the ornamented code to the bare code.
منابع مشابه
The effects of task complexity on Chinese learners’ language production: A synthesis and meta-analysis
The present meta-analysis was conducted to provide a quantitative measure of the overall effects of task complexity on Chinese EFL learners’ language production. Based on the strict inclusion criteria, 12 primary studies were synthesized according to key features. Eleven of them were meta-analyzed to investigate effects of raising the resource-directing task comple...
متن کاملOn the effectiveness of integrated skills approach in language teaching: a meta-analysis
This meta-analysis was conducted to synthesize the effect of 22 primary studies which have been conducted to test the effect of the integrated skills approach (ISA) on language skills and components. Three questions guide this analyses: What is the overall effect of ISA on language skills and sub-skills? To what extent moderator variables such as learners level of education and proficiency mod...
متن کاملThe Effect of CLIL on Language Skills and Components: A Meta-Analysis
Content and Language Integrated Learning (CLIL) has recently been the focus of numerous studies in language education since it aims to overcome the pitfalls of form-focused and meaning-focused instruction by systematically integrating content and language. This meta-analysis aims to synthesize the findings of 22 primary studies that tested the effect of CLIL on language skills and components. G...
متن کاملStandard ML as a Meta-Programming Language
Meta-programming languages, or program generators, are languages whose programs produce programs in other languages. We show how Standard ML makes an excellent meta-programming language, by adding appropriate program-valued | by which we mean string-valued | operations for each domain. We do so by giving four examples of meta-programming languages: a top-down parser generator; a \geometric regi...
متن کاملSolving Fuzzy Partial Differential Equation by Differential Transformation Method
Normal 0 false false false ...
متن کامل